package com.beaven.beavenime.activity

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.beaven.beavenime.R
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        bt_test.setOnClickListener { parseXml() }
    }

    private fun parseXml() {
        println("des -----${resources.displayMetrics.density}")
    }
}
